<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <mate name="flexibel" content="initial-drl=1"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="format-detection" content="telephone=no">
    <!--<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_1271962540'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1271962540%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>-->
    <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_1271962540'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s19.cnzz.com/z_stat.php%3Fid%3D1271962540' type='text/javascript'%3E%3C/script%3E"));</script>

    <script type="text/javascript">
        var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_"+<?php echo ($channelID); ?>+"'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s19.cnzz.com/z_stat.php%3Fid%3D"+<?php echo ($channelID); ?>+"' type='text/javascript'%3E%3C/script%3E"));
    </script>

    <!--留存统计-->
    <script type="text/javascript" src="https://hy.yixueqm.com/zhiming/index.php/Home-Interface-remain?typeName=ZW&nickName=紫微斗数&channel=<?php echo (cookie('channel')); ?>&uid=<?php echo (cookie('uid')); ?>"></script>

    <title>人生轨迹事业发展</title>
    <!--[if lt IE 9]>  
        <script src="http://cdn.bootcss.com/html5shiv/r29/html5.js"></script>
        <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->    
    <link rel="stylesheet" href="/zhiming/Public/css/YD_calendar.min.css">
    <link rel="stylesheet" href="/zhiming/Public/css/ZM_share.css" />
    <script src="/zhiming/Public/js/YD_calendar.min.js"></script>
    <script src="/zhiming/Public/js/jquery.min.js"></script>
    <script type="text/javascript" src="/zhiming/Public/js/rem.js"></script>
    <script src="/zhiming/Public/js/layer/layer.js"></script>
    <script src="https://res2.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
    <style>
        .zm_banner{background: #7e1a1a;}
        main{
            width: 100%;
            background-color: #FBF7EB;
            padding-bottom: 0.3rem;
        }
        .inbg {
            background:url('/zhiming/Public/images/zwds_img/bg2_1.png') no-repeat;
            background-size: 100% 100%;
            padding:5%;
        }
        .intxt{
            width: 100%;
            line-height: 0.6rem;
            font-size:0.32rem;
            text-align: center;
            color: #ab2424;
            margin: 0.1rem 0;
        }
        .bg2{margin-top:0.3rem;padding:3% 5%;
        }
        .color_bk{color:#333;margin-bottom:0.2rem;}
        .zm_form .zm_form_wrap{margin:0;}
        .zm_form .zm_form_wrap ul{border: solid 1px #7e1a1a;border-radius: 5px;}
        .zm_form .zm_form_wrap ul li{padding:0.1rem;border-bottom: solid 1px #c49696;}
        .zm_form .zm_form_wrap ul li .form_left{color: #792525;}
        .zm_form .zm_form_wrap ul li .form_auto span i{border-color:#D23037;}
        .button{margin-top:0.1rem;}
        .button a,.button2 a{
            background: url('/zhiming/Public/images/zwds_img/btn_mspmg.png') no-repeat;
            background-size: 100% 100%;
            line-height:50px;
            display:block;
            font-size:0.4rem;
            font-weight: bold;
            text-align: center;
            color: #d14448;
        }
        .button a:hover,.button2 a:hover{
            color:rgba(0,0,0,0.3);
        }
        .innum {
            width: 100%;
            line-height:0.4rem;
            font-size: 0.28rem;
            text-align: center;
            color:#333;
        }
        .innum b {color: #d92d2d;}
        .mg_pc{margin:0 6%;}
        .color_65{color:#653311;}
        .inline {
            width: 100%;
            border-bottom: dotted 1px #c08e59;
            margin: 0.2rem 0;
        }
        .ininfo {
            background: url('/zhiming/Public/images/zwds_img/bg4.png') no-repeat;
            background-size: 100% 100%;
            padding: 0.2rem;
            line-height: 0.6rem;
            font-size: 0.32rem;
            text-align: justify;
            color: #451111;
            margin: 0.2rem 0;
        }
        .red{color:#d92d2d;}
        .user_feedback .uf_ul_wrap{
            overflow: hidden;
            background-color:#ffffff;
            border:1px solid #f47316;
            border-radius: 10px;
            margin-bottom: 0.2rem;
        }
        .user_feedback .uf_ul_wrap .uf_ul li{border-bottom:2px solid #c9c9c9;margin:0 0.2rem;padding:0.2rem 0;list-style: none;}
        .user_feedback .uf_ul_wrap .uf_ul li:nth-last-child(1){border-bottom: none;}
        .user_feedback .uf_ul_wrap .uf_ul li strong{color:#743304;font-weight:400;font-size:0.32rem;font-family: }
        .user_feedback .uf_ul_wrap .uf_ul li p{margin-top:0.2rem;font-size:0.28rem;color:#333333;}
        .button2{margin:0.3rem 3% 0 3%;}
        .fiex_btt{
            width: 7.5rem;
            height: 1.22rem;
            background: url('/zhiming/Public/images/zwds_img/v1/but2.png') no-repeat center center;
            background-size: 100% 100%;
    }
    .fiex_btt{
        position: fixed;
        bottom: 0;
        left: 0;
        display: none;
    }
    .tohisty{
	height: 0.34rem;
	font-size: 0.32rem;
	color: #be2515;
text-align: center;
text-decoration: underline;
margin-top: 0.3rem;
    }
    .cs_btn.mg_btn,.cs_btn.mg_btn1 {
        width: 6.63rem;
        height: .96rem;
        background: url('/zhiming/Public/images/zwds_img/v1/but.png') no-repeat center center;
        background-size: 100% 100%;
        display: block;
        margin: .25rem auto;
    }
    .zm_form .zm_form_wrap .form_auto>span{
        display: flex;

    }
    .zm_form .zm_form_wrap .form_auto .on span.mark{
        border-color:#B62E2A;
        background-color: #B62E2A;
    }
    .zm_form .zm_form_wrap .form_auto span.mark{
        display: inline-block;
        width: .4rem;
        height: 0.4rem;
        padding: .05rem;
        box-sizing: border-box;
        background-color: #fff;
        border: .03rem solid #CFCFCF;
        border-radius: 50%;
        background-clip: content-box;
        background-image: none;
    }
    video{width:100%;height:4rem;margin:0.2rem 0;box-sizing: border-box;-webkit-box-sizing: border-box;-ms-box-sizing:border-box;-moz-box-sizing: border-box;-o-box-sizing:border-box;}
    </style>
</head>
<body>
    <style>
  /* 新改头部 */
.omd_header{
    height: 1rem;
    line-height: 1rem;
    overflow: hidden;
    background-color:#ffffff;
}
.omd_back{
    width:1rem;
    height: 1rem;
    float: left;
    background:url('/zhiming/Public/images/public/goHome.png') center no-repeat;
    background-size:0.48rem;;
}
.omd_home{
    color:#de2126;
    font-size:0.3rem;
    position: relative;
    display: inline-block;
    font-weight: bold;
}
.jiantou{
  display: inline-block;
  width:0.17rem;
  height:0.3rem;
  vertical-align: middle;
  background:url('/zhiming/Public/images/public/more.png')  no-repeat;
  background-size:100% 100%;
}
.omd_title{
    font-size:0.3rem;
    color:#666666;  
    position: relative;
    display: inline-block;
}
.omd_menu{
    float:right;
    width:1rem;
    height: 1rem;   
    background:url('/zhiming/Public/images/public/menu.png') center no-repeat;
    background-size:0.52rem;;
    display: none;
}
.omd_order{
    float:right;
    width:1rem;
    height: 1rem;   
    background:url('/zhiming/Public/images/public/mytest.png') center no-repeat;
    background-size:0.52rem;
    display: none;
}
/* omd_menu */
.omd_menu_container{
  height:calc(100Vh - 1rem);
  width:100%;
  position: fixed;
  left:0;
  right: 0;
  bottom:0;
  border-top:2px solid #eeeeee;
  box-sizing: border-box;
  background-color:rgba(255,255,255,0.9);
  display: none;
  transform: translate3d(0,0,0);
  z-index: 99;
}
.omd_menu_container.on{
  display: block;
  opacity: 1;
}
.omd_menu_container.menuShow{
  animation: menuin 0.3s forwards ease-out;
  -webkit-animation: menuin 0.3s forwards ease-out;
}
.omd_menu_container.menuHidden{
  animation: menuOut 0.3s forwards ease-out;
  -webkit-animation: menuOut 0.3s forwards ease-out;
}
@keyframes menuin{
  0%{
    transform: scale(3);
    -webkit-transform: scale(3);
    -ms-transform: scale(3);
    -moz-transform: scale(3);
    opacity: 0;
  }
  100%{
    transform: scale(1);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    opacity: 1;
  }
}
@keyframes menuOut{
  0%{
    transform: scale(1);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    opacity: 1;
  }
  100%{
    transform: scale(3);
    -webkit-transform: scale(3);
    -ms-transform: scale(3);
    -moz-transform: scale(3);
    opacity: 0;
  }
}
.omd_menu_wrap{
  margin:0 0.3rem;
}
.omd_menu_ul{
  display: flex;
  flex-wrap: wrap;
}
.omd_menu_li{
  width:calc(100% / 3);
  margin-top:0.1rem;
}
.omd_menu_a{
  display: block;
}
.omd_menu_a figure img{
  width:1.3rem;
  height:1.3rem;
  vertical-align: middle;
  display: block;
  margin:0 auto;
}
.omd_menu_a p{
  font-size:0.36rem;
  color:#333333;
  text-align: center;
  line-height: 1.7;
}
.channel91{
  display: block;
  position: absolute;
  top: .1rem;
  right:.1rem;
  width: .56rem;
  height: 0.55rem;
  background: url('/zhiming/Public/images/public/tp.png') no-repeat center center;
  background-size: 100% 100%;
}

</style>
<!-- 头部 -->
<?php if($_COOKIE['channel']== 'qudao91'): ?><a href="<?php echo U('Index/mycesuan','',false);?>" class="omd_order channel91"></a>
    <?php elseif($_COOKIE['hideAllCsNum']== 1): ?>
    <?php else: ?>
    <header class="omd_header">
        <a href="<?php echo U('Index/index','',false);?>" class="omd_back"></a>
        <a href="<?php echo U('Index/index','',false);?>" class="omd_home">测算大全</a>
        <span class="jiantou"></span>
        <span class="omd_title"><?php echo ($titleName['title']); ?></span>
        <span class="omd_menu"></span>

        <a href="<?php echo U('Index/mycesuan','',false);?>" class="omd_order"></a>

    </header><?php endif; ?>


<!-- menu菜单 -->
<aside class="omd_menu_container">
  <div class="omd_menu_wrap">
    <ul class="omd_menu_ul">
        <li class="omd_menu_li">
            <a href="<?php echo U('Lnyc2020/index','',false);?>" class="omd_menu_a">
                <figure><img src="/zhiming/Public/images/public/v2/menu_01.png" alt=""></figure>
                <p>2020年运势</p>
            </a>
        </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Bzjp/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174200502.png" alt=""></figure>
          <p>八字精批</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Bzsy/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174511370.png" alt=""></figure>
          <p>事业运势</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Szjx/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174524905.png" alt=""></figure>
          <p>数字解析</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Xmcs/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174547665.png" alt=""></figure>
          <p>姓名详批</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Bzcy/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174607455.png" alt=""></figure>
          <p>八字财运</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Hyzs/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174614741.png" alt=""></figure>
          <p>婚缘走势</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Bzhh/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174148357.png" alt=""></figure>
          <p>八字合婚</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Bbqm/index','',false);?>" class="omd_menu_a">
          <figure><img src="/zhiming/Public/images/public/menu_02.png" alt=""></figure>
          <p>宝宝起名</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Lath/index','',false);?>" class="omd_menu_a">
          <figure><img src="/zhiming/Public/images/public/menu_03.png" alt=""></figure>
          <p>恋爱桃花运</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Xzcs/index','',false);?>" class="omd_menu_a">
          <figure><img src="/zhiming/Public/images/public/menu_04.png" alt=""></figure>
          <p>星盘测算</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Pfc/index','',false);?>" class="omd_menu_a">
          <figure><img src="/zhiming/Public/images/public/menu_05.png" alt=""></figure>
          <p>剖腹产择日</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Zwds/index','',false);?>" class="omd_menu_a">
          <figure><img src="/zhiming/Public/images/public/menu_06.png" alt=""></figure>
          <p>一生运势</p>
        </a>
      </li>

        <li class="omd_menu_li">
            <a href="<?php echo U('Mrbz/index','',false);?>" class="omd_menu_a">
                <figure><img src="/zhiming/Public/images/public/menu_mrbz.png" alt=""></figure>
                <p>名人八字</p>
            </a>
        </li>
        <li class="omd_menu_li">
            <a href="<?php echo U('Bzhy/index','',false);?>" class="omd_menu_a">
                <figure><img src="/zhiming/Public/images/public/menu_bzhy.png" alt=""></figure>
                <p>八字婚缘</p>
            </a>
        </li>
        <li class="omd_menu_li">
            <a href="<?php echo U('Sndy/index','',false);?>" class="omd_menu_a">
                <figure><img src="/zhiming/Public/images/public/menu_sndy.png" alt=""></figure>
                <p>十年大运</p>
            </a>
        </li>
        <li class="omd_menu_li">
            <a href="<?php echo U('Sssd/index','',false);?>" class="omd_menu_a">
                <figure><img src="/zhiming/Public/images/public/menu_sssd.png" alt=""></figure>
                <p>六道轮回</p>
            </a>
        </li>

    </ul>
  </div>
</aside>
<script>
  $().ready(function(){
    var isHome = "<?php echo ($titleName['number']); ?>";
    if(isHome == '1'){
      $('.omd_menu').show();
      $('.myOrderNav').show();
      $('.omd_order').show();
    }
  });
  $('.omd_menu').on('click',function(){
    var $node = $('.omd_menu_container');
    $('.omd_menu_container').addClass('on');
    $('.omd_menu_container').toggleClass('menuShow');
    if(!$('.omd_menu_container').hasClass('menuShow')){
      $('.omd_menu_container').addClass('menuHidden');
      setTimeout(function(){
        $('.omd_menu_container').removeClass('menuHidden');
        $('.omd_menu_container').removeClass('on');
      },300)
    }
  })
</script>

<script type="text/javascript">
    var orderidnum="<?php echo ($orderidnum); ?>";
    var channel='<?php echo (cookie('channel')); ?>';
    if(orderidnum=='Bzjp'&&channel=='qudao336'){
        console.log('336CS');
        (function() {var octm = document.createElement("script");var h = (("https:" == document.location.protocol) ? "https://" : "http://");octm.src = h+"stat.adintl.cn/h.js";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(octm, s);})();
    }
</script>




    <div class="zm_banner">
        <img src="/zhiming/Public/<?php echo ($imgPath); ?>/zwds_img/v1/banner.png" width="100%" />
    </div>
    <main>
        <!-- <section class="inbg bg1">
            <div class="inpic"><img src="/zhiming/Public/images/zwds_img/in_top01.png" width="100%"></div>
            <div class="intxt">东方星命术，古代帝王学<br>让你对自己的命运一目了然！</div>
            <div class="inpic"><img src="/zhiming/Public/images/zwds_img/in_img01.png" width="100%"></div>
        </section> -->
        <section class=" bg2" id="scrollT">
            <form id="_form" class="zm_form" action="<?php echo U('Zwds/zwds_zhifu','',false);?>" method="post">
                <div class="zm_form_wrap">
                    <ul>
                        <li>
                            <div class="form_left">您的姓名</div>
                            <div class="form_auto">
                                <input type="text" class="bg_no" placeholder="匿名（可不填）" id="username" name="username"/>
                            </div>
                        </li>
                        <li>
                            <div class="form_left">您的性别</div>
                            <div class="form_auto">
                                <span class="on" id="but_man" data-value="1">
                                    <!-- <i></i> -->
                                    <span class="mark"></span>
                                    <font>男</font>
                                </span>
                                <span id="but_woman" data-value="0">
                                    <!-- <i></i> -->
                                    <span class="mark"></span>
                                    <font>女</font>
                                </span>
                                <input type="hidden" id="sex" name="gender" value="1"/>
                            </div>
                        </li>
                        <li>
                            <div class="form_left">出生日期</div>
                            <div class="form_auto">
                                    <div type="text" class="Js_date" data-date="1985-04-18-7" id="datetime" data-id="birthday">请选择你的出生日期</div>
                                <input type="hidden" id="birthday" name="birthday"  value="" >
                            </div>
                        </li>
                    </ul>
                </div>
            </form>
            <a href="javascript:;" class="cs_btn mg_btn"></a>
            <div class="innum">目前已有<b><?php echo (cookie('zwdscs')); ?></b>人测算紫微斗数命格详批</div>
            <div class="innum"><b>98%</b>的用户觉得本次测算对往后人生规划起到帮助。</div>
            <a href="<?php echo U('Index/mycesuan','',false);?>" class="tolist">
                <div class="tohisty">查看我的测算记录</div>
            </a>

        </section>
        <img src="/zhiming/Public/images/zwds_img/v1/1.png" width="100%" />
        <img src="/zhiming/Public/images/zwds_img/v1/2.png" width="100%" />
        <img src="/zhiming/Public/images/zwds_img/v1/3.png" width="100%" />
        <img src="/zhiming/Public/images/zwds_img/v1/4.png" width="100%" />
        <img src="/zhiming/Public/images/zwds_img/v1/5.png" width="100%" />
        <!-- 视频 -->
        <video  controls="controls"  webkit-playsinline="true" x-webkit-airplay="true"  playsinline="true"x5-video-player-type="h5"x5-video-player-fullscreen="true"  poster="/zhiming/Public/images/bzjp_img/ZM_video_bg.png" >
            您的浏览器不支持 video 标签。
            <source src="http://qiniu.ddznzj.com//media/180508/180508171544607.mp4" type="video/mp4">
        </video>
        <section class=" bg2">
            <form id="_form1" class="zm_form" action="<?php echo U('Zwds/zwds_zhifu','',false);?>" method="post">
                <div class="zm_form_wrap">
                    <ul>
                        <li>
                            <div class="form_left">您的姓名</div>
                            <div class="form_auto">
                                <input type="text" class="bg_no" placeholder="匿名（可不填）" id="username1" name="username"/>
                            </div>
                        </li>
                        <li>
                            <div class="form_left">您的性别</div>
                            <div class="form_auto">
                                <span class="on" id="but_man1" data-value="1">
                                    <span class="mark"></span>
                                    <font>男</font>
                                </span>
                                <span id="but_woman1" data-value="0">
                                    <span class="mark"></span>
                                    <font>女</font>
                                </span>
                                <input type="hidden" id="sex1" name="gender" value="1"/>
                            </div>
                        </li>
                        <li>
                            <div class="form_left">出生日期</div>
                            <div class="form_auto">
                                    <div type="text" class="Js_date" data-date="1985-04-18-7" id="datetime1" data-id="birthday1">请选择你的出生日期</div>
                                <input type="hidden" id="birthday1" name="birthday"  value="" >
                            </div>
                        </li>
                    </ul>
                </div>
            </form>
            <a href="javascript:;" class="cs_btn mg_btn1"></a>
            <div class="innum">目前已有<b><?php echo (cookie('zwdscs')); ?></b>人测算紫微斗数命格详批</div>
            <div class="innum"><b>98%</b>的用户觉得本次测算对往后人生规划起到帮助。</div>
            <!-- <div class="tohisty">查看我的测算记录</div> -->
        </section>

    </main>
    <!-- 提示收藏 -->
    <style>
    .close_container {
        width: 100%;
        height: 100%;
        position: fixed;
        background-color: rgba(0, 0, 0, 0.7);
        left: 0;
        top: 0;
        z-index: 99;
        display: none;
    }

    .close_wrap {
        width: 85%;
        position: absolute;
        left: 50%;
        top: 50%;
        background-color: #ffffff;
        border-radius: 5px;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }

    .close_wrap_pic {
        width: 85%;
        position: absolute;
        left: 50%;
        top: 50%;
        /*background-color:#ffffff;*/
        border-radius: 5px;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);

    }

    .close_wrap_pic {
        width: 6rem;
        display: block;
        height: auto;
    }

    .close_title {
        width: 100%;
        text-align: center;
        background: linear-gradient(rgb(218, 73, 97), rgb(126, 3, 3));
        background: -webkit-linear-gradient(rgb(218, 73, 97), rgb(126, 3, 3));
        color: #ffffff;
        font-size: 0.36rem;
        font-weight: bold;
        line-height: 2.5;
    }

    .close_B {
        width: 35px;
        height: 35px;
        margin-left: -17.5px;
        position: absolute;
        /* left: 50%;
		bottom: -60px; */
		right: 0;
		top: -45px;
        background: url('/zhiming/Public/images/public/close_.png') no-repeat;
        background-size: 100% 100%;
    }

    /*  */
    .sharePopup_container {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .7);
        position: fixed;
        z-index: 99;
        left: 0;
        top: 0;
        display: none;
    }

    .sharePopup_wrap {
        width: 5.6rem;
        position: relative;
        height: 7.92rem;
        left: 50%;
        top: 50%;
        background: url('/zhiming/Public/images/shareHD/img_beijing2.png') no-repeat;
        background-size: 100% 100%;
        transform: translate(-50%, -50%);
        border-radius: 0.25rem;
    }

    .close_sharePopup {
        width: 0.56rem;
        height: 0.56rem;
        position: absolute;
        background: url('/zhiming/Public/images/shareHD/btn_close.png') no-repeat;
        background-size: 100% 100%;
        right: 0;
        top: 0;
        z-index: 2;
    }

    .sharePopup_top {
        text-align: center;
        position: absolute;
        top: 1.1rem;
        width: 100%;
    }

    .sharePopup_top p {
        font-size: 0.34rem;
        color: #333333;
    }

    .sharePopup_top h3 {
        font-size: 1.06rem;
        color: #000000;
        font-weight: 400;
    }

    .sharePopup_top h3 span {
        font-size: 0.46rem;
        color: #000000;
        font-weight: 400;
    }

    .sharePopup_bottom {
        position: absolute;
        text-align: center;
        width: 100%;
        font-size: 0.24rem;
        color: #36a2cc;
        top: 3.5rem;
    }

    .placeBtn {
        width: 4.38rem;
        height: 1rem;
        background: url('/zhiming/Public/images/shareHD/img_btn.png') no-repeat;
        background-size: 100% 100%;
        position: absolute;
        left: 50%;
        top: 5.6rem;
        margin-left: -2.19rem;
        animation: Pscalc .7s infinite ease-in-out;
    }

    @keyframes Pscalc {
        0% {
            transform: scale(1)
        }

        50% {
            transform: scale(1.05)
        }

        100% {
            transform: scale(1)
        }
    }

    /* 提示分享 */
    .ts_tc_container {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99;
        display: none;
    }

    .ts_tc_bg {
        width: 100%;
        height: 300px;
        background: url('/zhiming/Public/images/public/mg_share.png') no-repeat;
        background-size: 100% 100%;
    }

    .ts_tc_contnet {
        font-size: 18px;
        color: #ffffff;
        padding: 180px 130px 30px 90px;
        text-align: center;
    }
</style>

<style>
    .close_content {
        padding: 0.4rem;
        text-align: center;
    }

    .close_top {
        display: flex;
        align-items: center;
        flex: -webkit-box;
        -webkit-box-pack: center;
    }

    .top_head img {
        width: 1rem;
        height: 1rem;
        vertical-align: middle;
        border-radius: 50%;
    }

    .top_content {
        flex: 1;
        -webkit-box-flex: 1;
        padding: 0.2rem;
        background-color: #9EEA6A;
        margin-left: 0.2rem;
        border-radius: 0.1rem;
        font-size: 0.28rem;
        color: #333333;
        position: relative;
    }

    .top_content:before {
        content: '';
        display: inline-block;
        border: 0.2rem solid transparent;
        border-right-color: #9EEA6A;
        position: absolute;
        left: -0.35rem;
        top: 50%;
        margin-top: -0.2rem;
    }

    .close_search {
        display: flex;
        display: -webkit-box;
        margin: 0.4rem 0;
    }

    .search_value {
        flex: 1;
        -webkit-box-flex: 1;
        border: 0.02rem solid #bb1b21;
        border-radius: 0.1rem 0 0 0.1rem;
        font-size: 0.3rem;
        color: #bb1b21;
        font-weight: bold;
        line-height: 0.8rem;
        text-align: center;
    }

    .search_btn {
        text-align: center;
        color: white;
        font-size: 0.3rem;
        line-height: 0.8rem;
        background-color: #bb1b21;
        width: 1rem;
    }

    .open_wx {
        height: 0.8rem;
        line-height: 0.8rem;
        background-color: #3A9E13;
        border-radius: 0.5rem;
        color: #ffffff;
        font-size: 0.32rem;
        text-align: center;
        box-shadow: 0 0 0.05rem #e0e0e0;
		margin-top: 0.2rem;
    }

    .open_wx::before {
        content: '';
        width: 0.46rem;
        height: 0.37rem;
        display: inline-block;
        background: url('/zhiming/Public/images/public/weixin_icon.png') 0% 0% / 100% 100% no-repeat;
        vertical-align: middle;
        margin-right: 0.15rem;
    }

    .add_point {
        font-size: 0.24rem;
        color: dimgrey;
        text-align: center;
        font-style: italic;
        margin: 0.3rem 0 0.1rem;
    }

    .add_point strong {
        color: #3cbe0b;
    }

    .fixed-top {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999999;
        display: none;
    }

    .fixed-top-tip {
        color: #ffffff;
        font-size: 0.28rem;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 0.1rem 0.4rem;
    }
    .close-wrap.for-bbqm{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }
    .for-bbqm .up-wrap{
        width: 6.4rem;
        height: 3.05rem;
        background: url('/zhiming/Public/images/bbqm_img/v4/img_bj.png') no-repeat center center;
        background-size:  100% 100%;
        position: relative;
        padding: .26rem .5rem .2rem;
        box-sizing: border-box;
    }
    .for-bbqm .bt-img{
        width: 6.4rem;
        display: block;
        height: auto;
    }
    .up-wrap .close_BB{
        position: absolute;
        width: 0.48rem;
        height: 0.48rem;
        top: 0.1rem;
        right: 0.1rem;
    }
    .up-wrap .dashi-wrap{
        display: flex;
    }
    .up-wrap .dashi-wrap img.avatar{
        display: block;
        width: 1.04rem;
        height: 1.04rem;
        border-radius: 50%;
        margin-right: 0.15rem;
    }
    .up-wrap .dashi-wrap .wx-wraps .minge{
        font-size: .32rem;
        color: #ffea3c;
        margin-bottom: 0.1rem;
    }
    .up-wrap .dashi-wrap .wx-wraps .wxcode{
        font-size: .24rem;
        color: #ffffff;
    }
    .up-wrap .mock-inputer{
        display: flex;
        justify-content: center;
        margin: .2rem 0;
    }
    .up-wrap .mock-inputer .white{
        width: 4rem;
        flex:none;
        height: .78rem;
        line-height: .78rem;
        background-color: #ffffff;
        border-radius: .10rem 0 0 .10rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: .34rem;
	color: #ff5550;
    }
    .up-wrap .mock-inputer .cptt{
        flex:auto;
        line-height: .78rem;
        display: flex;
        justify-content: center;
        box-sizing: border-box;
        align-items: center;
        height: .78rem;
        background-color: #ff5550;
        border-radius: 0px .10rem .10rem 0px;
        border: solid .01rem #ffffff;
        font-size: .34rem;
	color: #ffffff;
    }
    .up-wrap .tac{
        font-size: .24rem;
        text-align: center;
	color: #ffffff;
    }
	.jwx-top{
		display: flex;
		flex-direction: row;
		align-items: center;
		width:100%;
		height:1.4rem;
		background:rgba(255,251,245,1);
		border:1px solid rgba(255,210,183,1);
		border-radius:15px;
		font-size: 0.28rem;
		margin-bottom: 0.2rem;
	}
	.jwx-top .m{
		width: 75%;
		margin-right: 0.1rem;
		/* border: 1px solid red; */
	}
	.jwx-top img{
		width:1.275rem;
		height:1.5rem;
	}
	.jwx-top span{
		color: #FF0010;
	}
	.jwx-center{
		width:100%;
		text-align: center;
		font-size: 0.35rem;
		color: #333333;
		line-height: 0.6rem;
	}
	.jwx-center span{
		color: #FF0000;
	}
	.jc{
		color: #000000;
	}
</style>
<!-- 安全提醒 -->
<section class="fixed-top">
    <div class="fixed-top-tip">本网页已通过安全检测，请放心浏览</div>
</section>
<!-- 关闭提醒 -->
<?php if(($_COOKIE['channel']== qudao191) or ($_COOKIE['channel']== qudao194) or ($channel == qudao91)): else: ?>
    <div class="close_container">

        <!--<div class="close-wrap for-bbqm">-->
            <!--<div class="up-wrap">-->
                <!--<img src="/zhiming/Public/images/bbqm_img/v4/img_guanbi.png" alt="" class="close_BB">-->
                <!--<div class="dashi-wrap">-->
                    <!--<img src="/zhiming/Public/images/bbqm_img/v4/img_touxiang.png" alt="" class="avatar">-->
                    <!--<div class="wx-wraps">-->
                        <!--<div class="minge">每天只通过50个名额</div>-->
                        <!--<div class="wxcode">添加微信号：qumingxiaoxue立即咨询</div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="mock-inputer">-->
                    <!--<div class="white">qumingxiaoxue</div>-->
                    <!--<div class="cptt share_qrcode">复制</div>-->
                <!--</div>-->
                <!--<div class="tac">加陈奕哲老师微信起好名字</div>-->
            <!--</div>-->
            <!--<img src="/zhiming/Public/images/bbqm_img/v4/img_dibu.png" alt="" class="bt-img" >-->
        <!--</div>-->


        <div class="close_wrap">
            <div class="close_title">加微信，大师在线取好名</div>
            <div class="close_content">
                <!-- <div class="close_top">
                    <div class="top_head"><img src="/zhiming/Public/images/bzjp_img/CYZ_head.png" alt=""></div>
                    <div class="top_content">
                        <p>每天只通过50个名额，添加微信号GXQM_zz立即咨询</p>
                    </div>
                </div>
                <div class="close_search">
                    <div class="search_value" id="search_copy">GXQM_zz</div>
                    <div class="search_btn" data-clipboard-action="copy" data-clipboard-target="#search_copy">复制</div>
                </div> -->
				<div class="jwx-top">
					<img src="/zhiming/Public/images/bbqm_img/bd/zrds.png" /> <div class="m">立即<span>预约大师</span>，一对一个性化取名保证吉祥好听！满意为止！</div>
				</div>
                <!--zm_junjun-->
				<div class="jwx-center jc">大师微信号: <span>qumingxiaoxue</span></div>
				<div class="jwx-center">已经复制成功</div>
                <a href="weixin://" data-clipboard-text="qumingxiaoxue">
                    <div class="open_wx" onclick="pvuvStatistics('qm_bd_index_dkwx')">打开微信</div>
                </a>
                <p class="add_point">打开微信，点击右上角“<strong>+</strong>”，点击“<strong>添加朋友</strong>”</p>
                <!-- <img src="/zhiming/Public/images/bbqm_img/bd/weixin_tj.gif" width="80%" /> -->
                <!--<img src="/zhiming/Public/images/public/weixin_demo.png" width="80%" alt="">-->
            </div>
            <div class="close_B"></div>
        </div>



        <!--<div class="close_wrap_pic">-->
            <!--<a href="#"><img class="share_qr" src="/zhiming/Public/images/public/share-qr.png" width="100%" alt=""></a>-->
         <!--<a href="#" ><img src="/zhiming/Public/images/public/share-qr.png"-->
                    <!--width="100%" alt="" class="search_btn" data-clipboard-action="copy" data-clipboard-target="#search_copy"></a>-->
                    <!--<a id="search_copy" href="weixin://" style='display: none;'>qumingxiaoxue</a>-->
         <!--<div class="close_B"></div>-->
         <!--</div>-->



    </div>

    <!-- <section class="sharePopup_container"> -->
    <!-- <div class="sharePopup_wrap"> -->
    <!-- <div class="close_sharePopup"></div> -->
    <!-- <div class="sharePopup_top"> -->
    <!-- <p>待提现余额</p> -->
    <!-- <h3> -->
    <!-- {$priceHB} <span>元</span></h3> -->
    <!-- </div> -->
    <!-- <div class="sharePopup_bottom"> -->
    <!-- <p>助力满10元，任意时间均可提现</p> -->
    <!-- </div> -->
    <!-- <div class="placeBtn"></div> -->
    <!-- </div> -->
    <!-- </section> --><?php endif; ?>
<!-- 提示分享 -->
<!--<div class="ts_tc_container">-->
    <!--<div class="ts_tc_bg">-->
        <!--<div class="ts_tc_contnet">点击右上角分享到微信群和朋友圈。</div>-->
    <!--</div>-->
<!--</div>-->

<script type="text/javascript" src="/zhiming/Public/js/clipboard.min.js"></script>
<script>
    $('.close_B').on('click', function () {
        $('.close_container').hide();
        $('html,body').animate({
            scrollTop: $('.hot_cs')[0].offsetTop
        }, 500);
    })
    let iswx = "<?php echo (cookie('wxlogin')); ?>";
    let bzjp = "<?php echo ($orderidnum); ?>";
    var channel = '<?php echo (cookie('channel')); ?>';
    var timerPo = null;
    var hidePopup = '<?php echo (cookie('hidePopupNum')); ?>';
    var QSorderNo='<?php echo (cookie('QSorderNo')); ?>';
	
	function pvuvStatistics(typeName){
	    $.getJSON("<?php echo U('Index/interfacPvUv','',false);?>",{typeName:typeName},function(data){//点击回调入库
	
	    });
	}

    $(function () {
        $.getJSON("<?php echo U('Index/WXdownShare','',false);?>", function (data) { //公众号不分享查询
            if (data == 1) {} else {
                console.log(channel)
                console.log('zm2');
                return;
                console.log('zm1');
                if (hidePopup == 1||QSorderNo==1) {//不显示弹窗

                } else {
                    if (bzjp != "Bzjp") {
                        pushHistory();
                        if (iswx == 1) {}
                        pushHistory3();
                    } else {
                        pushHistory3();
                    }
                }
                window.addEventListener("popstate", function (e) { //首页
                    console.log(e.state)
                    if(!/MicroMessenger/i.test(navigator.userAgent)){
                        if (e.state == 'fuli') {
                            $.getJSON("<?php echo U('Index/jieguoyeReturn','',false);?>", function (
                                data) { //回调统计入库
                            });
                            $('.close_container').fadeIn();
                        } else if (e.state == null && iswx == 1 && channel == 'qudao100') {
                            $('.sharePopup_container').fadeIn();
                        } else if (e.state == null && iswx != 1) {
                            window.history.back(-1)
                        }
                    }

                }, false);
            }
        });
        $('.bt-img').on('click', function () {
            console.log('toweixin')
            window.location.href = 'weixin://'
        })
        $('.close_B').on('click', function () {
            $('.close_container').css('display', 'none');
        })
        $('.close_BB').on('click', function () {
            $('.close_container').css('display', 'none');
        })

        // 安全提醒
        $('.fixed-top').fadeIn();
        let timerPo = setTimeout(function () {
            $('.fixed-top').fadeOut(1500);
            clearTimeout(timerPo)
        }, 2000)
    });

    function pushHistory() {
        window.history.pushState('fuli', null, document.URL)
    }

    function pushHistory3() {
        window.history.pushState('share', null, document.URL)
    }

    $('.close_sharePopup').on('click', function () {
        $('.sharePopup_container').fadeOut();
    })
    $('.placeBtn').on('click', function () {
        $('.ts_tc_container').fadeIn();
    })
    $('.ts_tc_container').on('click', function () {
        $(this).fadeOut();
    })


    $('.search_btn').on('click', function () { //复制操作
         var clipboard = new Clipboard('.search_btn');
         clipboard.on('success', function (e) {
             console.log(e);
         });

         layer.msg('复制成功', {
             icon: 1
         });
    });

    $('.share_qr').on('click', function (e) { //复制操作
        // if (/MicroMessenger/i.test(navigator.userAgent)) {
        //     e.stopPropagation();
        //     return
        // }

        var clipboard = new Clipboard('.share_qr', {
            text: function (trigger) {
                return 'qumingxiaoxue'
            }
        });
        clipboard.on('success', function (e) {
            console.log(e);
            setTimeout(function () {
                console.log('to weixin')
                let a = document.createElement('a')
                a.href = 'weixin://'
                a.click()
            }, 3000)

        });

        layer.msg('复制成功，即将前往微信', {
            icon: 1
        });
    });
    $('.share_qrcode').on('click', function (e) { //复制操作
        // if (/MicroMessenger/i.test(navigator.userAgent)) {
        //     e.stopPropagation();
        //     return
        // }

        var clipboard = new Clipboard('.share_qrcode', {
            text: function (trigger) {
                return 'qumingxiaoxue'
            }
        });
        clipboard.on('success', function (e) {
            console.log(e);
            setTimeout(function () {
                console.log('to weixin')
                let a = document.createElement('a')
                a.href = 'weixin://'
                a.click()
            }, 3000)

        });

        layer.msg('复制成功，即将前往微信', {
            icon: 1
        });
    });
</script>

<!-- 半价活动 -->
<style>
    .discount_container {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99;
        display: none;
    }

    .discount_bg {
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: rgba(0, 0, 0, 0.7);
        top: 0;
        left: 0;
    }

    .discount_container.on {
        display: block;
    }

    .discount_container.on .discount_content {
        animation: onShow 0.3s ease-out forwards;
    }

    @keyframes onShow {
        0% {
            opacity: 0;
            transform: scale(0.3);
            -webkit-transform: scale(0.3);
        }

        100% {
            opacity: 1;
            transform: scale(1);
            -webkit-transform: scale(1);
        }
    }

    .discount_content {
        width: 100%;
        height: 5.69rem;
        padding: 3.5rem 1rem 0;
        box-sizing: border-box;
        background: url('/zhiming/Public/images/public/bjCoupon.png') 0% 0% / 100% 100% no-repeat;
        position: absolute;
        top: 20%;
        text-align: center;
    }

    .discount_btn {
        width: 4.4rem;
        height: 0.86rem;
        background: url('/zhiming/Public/images/public/bjCoupon_btn.png') 0% 0% / 100% 100% no-repeat;
        ;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .discount_txt {
        font-size: 0.2rem;
        color: #ffffff;
        text-align: center;
        margin-top: 0.3rem;
    }

    .discount_close {
        width: 0.64rem;
        height: 0.64rem;
        background: url('/zhiming/Public/images/public/close_.png') 0% 0% / 100% 100% no-repeat;
        position: absolute;
        top: -0.64rem;
        right: 0.8rem;
    }
</style>
<div class="discount_container">
    <div class="discount_bg"></div>
    <div class="discount_content">
        <div class="discount_btn"></div>
        <p class="discount_txt">优惠券可在解锁测算结果时使用<br />（每位新用户均可享受一次半价优惠！）</p>
        <div class="discount_close"></div>
    </div>
</div>
<script>
    var server = "<?php echo (cookie('orderidnum')); ?>"; // H5单页
    const isflag = "<?php echo (cookie('discountQczhChannel')); ?>" // 是否新用户
    const isHave = "<?php echo (cookie('discountQczh')); ?>" //是否领取
    const fliterQudao = ["Bzcy", "Bzhh", "Xzcs", "Lnyc2019", "Lath", "Bbqm", "Xmcs", "Bzjp"]

    //    console.log(server);
    //    console.log(isflag);
    //    console.log(isHave);
    $(function () {
        if (parseInt(isflag) === 1) {
            if (parseInt(isHave) == 1 && fliterQudao.some(function (item) {
                    return item == server
                })) {
                let timer = null

                timer = setTimeout(function () {
                    $('.discount_container').addClass('on');
                    clearTimeout(timer)
                }, 500)
            }
        }

        $('.discount_close').on('click', function () {
            $('.discount_container').removeClass('on');
        })
        $('.discount_btn').on('click', function () {
            $.getJSON("<?php echo U('Index/discountQczh','',false);?>", function (data) {
                console.log(data)
            })
            $('.discount_container').removeClass('on');
        })
    })
</script>
    <!-- 热门测算 -->
    <div class="hot_cs">
        
<?php if(($_COOKIE['channel']== bbhs) or ($_COOKIE['channel']== zd1) or ($_COOKIE['channel']== qudao91) or ($_COOKIE['hideAllHotNum']== 1)): else: ?>

    <h3 class="hotcs_title">热门推荐</h3>
    <ul class="hotcs_list">

        <?php if(($orderidnum == 'Bzcy') and ($_COOKIE['channel']== 'qudao245')): ?><!-- 广告 -->
            <!-- 广告 -->
<div id="ad1"></div>
<script type="text/javascript" src="https://newidea4-gamecenter-frontend.1sapp.com/sdk/prod/h5.v1.0.0.js"></script>
<script>
    qttGame.cpcAd({aid: '7132438', container: 'ad1'})
</script>




            <?php else: endif; ?>

        <!-- 平安广告 -->
        <!--<li  class="hotcs_hb hotcs_item" data-type="zmmx" data-url="https://b.pingan.com.cn/mkt/youhui/1902/cxzshf/index.shtml?campaignid=201902002067&outerid=ou0001563&cid=ci0000007">-->
            <!--<h3 class="h_title">20元话费福利直接领！平安口袋银行新户独享！</h3>-->
            <!--<div class="img_box">-->
                <!--<figure><img src="/zhiming/Public/images/public/pa1.png" class="h_img" alt=""></figure>-->
                <!--<figure><img src="/zhiming/Public/images/public/pa2.png" class="h_img" alt=""></figure>-->
                <!--<figure><img src="/zhiming/Public/images/public/pa3.png" class="h_img" alt=""></figure>-->
            <!--</div>-->
        <!--</li>-->


        <!-- 新增的两个 机遇&财运 -->

        <?php if($_COOKIE['orderidnum']== 'Lnyc2020'): else: ?>
            <li  class="hotcs_hb hotcs_item" data-type="zmmx" data-url="<?php echo U('Lnyc2020/index','',false);?>">
                <h3 class="h_title"><?php echo (cookie('yearName')); ?>年大事太多，你会有什么机遇？神准！</h3>
                <div class="img_box">
                    <figure><img src="/zhiming/Public/images/public/jq1.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/jq2.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/jq3.png" class="h_img" alt=""></figure>
                </div>
            </li><?php endif; ?>

        <!-- 2019.12.02 -->
        <?php if($_COOKIE['orderidnum']== 'Lnyc2020'): else: ?>
            <li  class="hotcs_hb hotcs_item" data-type="zmmx" data-url="<?php echo (cookie('shop1_url')); ?>">
                <h3 class="h_title"><?php echo (cookie('shop1_content')); ?></h3>
                <div class="img_box">
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop1_typeid')); ?>/1.jpg" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop1_typeid')); ?>/2.jpg" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop1_typeid')); ?>/3.jpg" class="h_img" alt=""></figure>
                </div>
            </li><?php endif; ?>
        <?php if($_COOKIE['orderidnum']== 'Lnyc2020'): else: ?>
            <li  class="hotcs_hb hotcs_item" data-type="zmmx" data-url="<?php echo (cookie('shop2_url')); ?>">
                <h3 class="h_title"><?php echo (cookie('shop2_content')); ?></h3>
                <div class="img_box">
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop2_typeid')); ?>/1.jpg" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop2_typeid')); ?>/2.jpg" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop2_typeid')); ?>/3.jpg" class="h_img" alt=""></figure>
                </div>
            </li><?php endif; ?>


        <!--<?php if($orderidnum == 'Bzcy'): ?>-->
            <!--<?php else: ?>-->
            <!--<li class="hotcs_hb hotcs_item" data-type="zmmx" data-url="&lt;!&ndash;{:U('Bzcy/index','',false)}&ndash;&gt;?jieguoye=&lt;!&ndash;{$jieguoye}&ndash;&gt;">-->
                <!--<h3 class="h_title">财运十断九验，大师教你转财运，寻得致富之道！</h3>-->
                <!--<div class="img_box">-->
                    <!--<figure><img src="/zhiming/Public/images/public/cy4.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/cy5.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/cy6.png" class="h_img" alt=""></figure>-->
                <!--</div>-->
            <!--</li>-->
        <!--<?php endif; ?>-->


        <!-- ai面相 -->
        <!--<?php if(($_COOKIE['channel']== 'qudao138') or ($_COOKIE['channel']== 'qudao245') or ($_COOKIE['hideOtherCsNum']== 1)): ?>-->
            <!--<?php else: ?>-->
            <!--<li id='aftercheckplatform' class="hotcs_hb hotcs_item" data-type="zmmx" data-url="https://aiface.yixueqm.com/app/index.php?i=2&c=entry&do=index&m=hc_face&pid=10&channel=&lt;!&ndash;{$Think.cookie.channel}&ndash;&gt;">-->
                <!--<h3 class="h_title">AI人工智能看面相，预知凶吉神准，快来试试！</h3>-->
                <!--<div class="img_box">-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_aimx01.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_aimx02.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_aimx03.png" class="h_img" alt=""></figure>-->
                <!--</div>-->
            <!--</li>-->
        <!--<?php endif; ?>-->


        <!--<?php if(($_COOKIE['hideOtherCsNum']== 1)): ?>-->
            <!--<?php else: ?>-->
            <!--<li class="hotcs_hb hotcs_item" data-type="zmmx" data-url="https://hy.yixueqm.com/interface/index.php/Home/Kaiyun/index?native=2&QTTopenid=&lt;!&ndash;{$Think.cookie.QTTopenid}&ndash;&gt;&channel=&lt;!&ndash;{$Think.cookie.channel}&ndash;&gt;">-->
                <!--<h3 class="h_title">睡眠不好的人有福了，这个东西养生，还旺财运</h3>-->
                <!--<div class="img_box">-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_x01.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_x02.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_x03.png" class="h_img" alt=""></figure>-->
                <!--</div>-->
            <!--</li>-->
        <!--<?php endif; ?>-->


        <?php if($orderidnum == 'Bzjp'): else: ?>
            <li class="hotcs_item" data-type="zmbz" data-url="<?php echo U('Bzjp/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_0.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>八字精批</b>：你的农历生日决定了你是什么样的人？</p>
                    <div class="r_foot">
                        <p data-type="zmbz">
                            <?php echo (cookie('zmbzNumber')); ?>
                        </p>
                        <p>9.7分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if(($orderidnum == 'Bzhh') or ($_COOKIE['channel']== 'qudao50')): else: ?>
            <li class="hotcs_item" data-type="zmhh" data-url="<?php echo U('Bzhh/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_1.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>八字合婚</b>：看你和TA的八字合不合？关系你后半生幸福一定要看！</p>
                    <div class="r_foot">
                        <p data-type="zmhh">
                            <?php echo (cookie('zmhhNumber')); ?>
                        </p>
                        <p>9.6分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Zwds'): else: ?>
            <li class="hotcs_item" data-type="zmzw" data-url="<?php echo U('Zwds/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_2.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>一生运势</b>：有这4种特征的人一生福报满满，好运自然来！</p>
                    <div class="r_foot">
                        <p data-type="zmzw">
                            <?php echo (cookie('zmzwNumber')); ?>
                        </p>
                        <p>9.7分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Bzsy'): else: ?>
            <li class="hotcs_item" data-type="zmsy" data-url="<?php echo U('Bzsy/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_3.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>事业测算</b>：人一辈子总是希望能出人头地，教你三招旺<?php echo (cookie('yearName')); ?>年事业！</p>
                    <div class="r_foot">
                        <p data-type="zmsy">
                            <?php echo (cookie('zmsyNumber')); ?>
                        </p>
                        <p>9.5分</p>
                    </div>
                </div>
            </li><?php endif; ?>


        <?php if(($orderidnum == 'Hyzs') or ($_COOKIE['channel']== 'qudao50')): else: ?>
            <li class="hotcs_item" data-type="zmhy" data-url="<?php echo U('Hyzs/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_6.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>婚姻走势</b>：婚姻是个坎！民间老师傅告诉你姻缘走势，准的惊人！</p>
                    <div class="r_foot">
                        <p data-type="zmhy">
                            <?php echo (cookie('zmhyNumber')); ?>
                        </p>
                        <p>9.1分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Xmcs'): else: ?>
            <li class="hotcs_item" data-type="zmxm" data-url="<?php echo U('Xmcs/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_7.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>姓名测算</b>：神奇的姓名吉凶测试，解开运势密码！结果不要太吃惊！</p>
                    <div class="r_foot">
                        <p data-type="zmxm">
                            <?php echo (cookie('zmxmNumber')); ?>
                        </p>
                        <p>9.3分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Xzcs'): else: ?>
            <li class="hotcs_item" data-type="zmxz" data-url="<?php echo U('Xzcs/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_8.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>星盘测算</b>：印度天文占星大法，康熙皇帝也沉迷的神秘算命术。</p>
                    <div class="r_foot">
                        <p data-type="zmxz">
                            <?php echo (cookie('zmxzNumber')); ?>
                        </p>
                        <p>9.1分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if(($orderidnum == 'Bbqm') or ($_COOKIE['channel']== 'qudao71') ): else: ?>
            <li class="hotcs_item" data-type="zmqm" data-url="<?php echo U('Bbqm/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_9.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>宝宝起名</b>：给孩子起名需要注意的，不要亲手毁掉他的一生！</p>
                    <div class="r_foot">
                        <p data-type="zmqm">
                            <?php echo (cookie('zmqmNumber')); ?>
                        </p>
                        <p>9.6分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Pfc'): else: ?>
            <li class="hotcs_item" data-type="zmpfc" data-url="<?php echo U('Pfc/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_10.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>剖腹产选日子</b>：富豪、明星为什么选择剖腹产择日？大有学问讲究。</p>
                    <div class="r_foot">
                        <p data-type="zmpfc">
                            <?php echo (cookie('zmpfcNumber')); ?>
                        </p>
                        <p>9.3分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Szjx'): else: ?>
            <li class="hotcs_item" data-type="zmhm" data-url="<?php echo U('Szjx/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_11.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>号码解析</b>:手机号码大揭秘，11位数暴露了你的.....</p>
                    <div class="r_foot">
                        <p data-type="zmhm">
                            <?php echo (cookie('zmhmNumber')); ?>
                        </p>
                        <p>9.5分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <!-- ai面相 -->
        <?php if(($_COOKIE['channel']== 'qudao138')): ?><li  class="hotcs_hb hotcs_item" data-type="zmmx" data-url="https://aiface.yixueqm.com/app/index.php?i=2&c=entry&do=index&m=hc_face&pid=10">
                <h3 class="h_title">AI人工智能看面相，预知凶吉神准，快来试试！</h3>
                <div class="img_box">
                    <figure><img src="/zhiming/Public/images/public/img_aimx01.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/img_aimx02.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/img_aimx03.png" class="h_img" alt=""></figure>
                </div>
            </li>
            <?php else: endif; ?>
        <!-- 铜鹿 -->
        <?php if(($_COOKIE['channel']== 'qudao138')): ?><li class="hotcs_hb hotcs_item" data-type="zmqf" data-url="https://hy.yixueqm.com/interface/index.php/Home/Kaiyun/index?native=2&QTTopenid=<?php echo (cookie('QTTopenid')); ?>&channel=<?php echo (cookie('channel')); ?>&typeid=3">
                <h3 class="h_title">逐鹿生财铜摆件，汲取中华文化设计，宅安财旺必请</h3>
                <div class="img_box">
                    <figure><img src="/zhiming/Public/images/public/img_tl01.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/img_tl02.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/img_tl03.png" class="h_img" alt=""></figure>
                </div>
            </li>
            <?php else: endif; ?>

    </ul><?php endif; ?>
<script>
    // 安卓不显示ai面相
//    if(/android/i.test(navigator.userAgent) || /adr/i.test(navigator.userAgent)){
//        $('#aftercheckplatform').css('display','none')
//    }
    
    $('.hotcs_item').each(function () {
        $(this).on('click', function () {
            var type = $(this).attr('data-type');
            $.getJSON("<?php echo U('Index/zmClick','',false);?>", {
                type: type
            }, function (data) { //回调入库
            });
            window.location.href = $(this).attr('data-url');
        })
        this.onclick = function (e) {
            var type = this.getAttribute('data-type');
            $.getJSON("<?php echo U('Index/zmClick','',false);?>", {
                type: type
            }, function (data) { //回调入库
            });
            window.location.href = this.getAttribute('data-url');
        }
    })

    $('.r_foot').each(function () {
        var item = $(this).children()[0];
        item.onclick = function (e) {
            e.stopPropagation();
            var type = this.getAttribute('data-type');
            if (this.classList.toggle('on')) {
                $.getJSON("<?php echo U('Index/zmClickZ','',false);?>", {
                    type: type
                }, function (data) { //回调入库
                });
                this.textContent++;
            } else {
                this.textContent--;
            }
        }
    })
</script>
<style>
    .hot_cs {
        border: none;
        border-top: 0.2rem solid #F3F3F3;
        box-sizing: border-box;
        background-color: #ffffff;
        margin: 0;
    }

    .hotcs_title {
        font-size: 0.3rem;
        color: #333333;
        padding: 0.2rem;
        border-bottom: 0.2rem solid #f5f5f5;
    }

    .hotcs_list {
        list-style: none;
        padding: 0 0.2rem;
        padding-bottom: 0.2rem;
    }

    .hotcs_item {
        display: flex;
        -webkit-tap-highlight-color: transparent;
        color: #333333;
        align-items: center;
        margin-bottom: 0.4rem;
    }

    .hotcs_item:nth-last-child(1) {
        margin-bottom: 0;
    }

    .hotcs_item .l_img {
        width: 1.78rem;
        height: 1.4rem;
        vertical-align: middle;
    }

    .hotcs_item .r_wrap {
        margin-left: 0.24rem;
        flex: 1;
        height: 100%;
    }

    .hotcs_item .r_wrap .r_deriction {
        font-size: 0.32rem;
        color: #333333;
        margin-bottom: 0.1rem;
    }

    .hotcs_item .r_wrap .r_foot {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hotcs_item .r_wrap .r_foot p:nth-child(1) {
        padding-left: 0.36rem;
        background: url('/zhiming/Public/images/public/icon_dianzan.png') 0% 50% no-repeat;
        background-size: 0.24rem;
        font-size: 0.22rem;
        line-height: 2;
        color: #A78A5F;
    }

    .hotcs_item .r_wrap .r_foot p:nth-child(2) {
        padding: 0rem 0.2rem;
        border: 0.02rem solid #FFBE4B;
        border-radius: 0.1rem;
        font-size: 0.2rem;
        color: #FFCC71;
    }

    .hotcs_item.hotcs_hb {
        display: flex;
        flex-direction: column;
        margin-bottom: 0.3rem;
        align-items: flex-start;
    }

    .h_title {
        width: 100%;
        font-size: 0.32rem;
        color: #333333;
        font-weight: bold;
        position: relative;
        margin-top: 0.2rem;
    }

    /* .h_title::after{
        content:'立即查看';
        width:1.15rem;
        height:0.32rem;
        line-height: 0.32rem;
        text-align: center;
        color:#ffb430;
        border-radius: 0.12rem;
        border:0.02rem solid #ffb430;
        display: inline-block;
        font-size:0.22rem;
        position: absolute;
        right:0;bottom:0;
        margin-bottom:0.04rem;
    } */
    .hotcs_item .img_box {
        display: flex;
        padding: 0.2rem 0;
        border-bottom: 0.01rem solid #eaeaea;
    }

    .h_img {
        width: 2.08rem;
        height: 1.5rem;
        vertical-align: middle;
    }

    .hotcs_item .img_box figure {
        margin-right: 0.1rem;
    }

    .hotcs_item .img_box figure:nth-last-child(1) {
        margin-right: 0;
    }
</style>
    </div>
    <!-- 脚注 -->
    <footer class="footer_severs">
        
<?php if(($_COOKIE['channel']== qudao91) OR ($_COOKIE['channel']== qudao130) OR ($_COOKIE['channel']== qudao172) OR ($_COOKIE['channel']== qudao179) OR ($_COOKIE['channel']== qudao181) OR ($_COOKIE['channel']== qudao191) OR ($_COOKIE['channel']== qudao192) OR ($_COOKIE['channel']== qudao194) OR ($_COOKIE['channel']== qudao195) OR ($_COOKIE['channel']== qudao196) OR ($_COOKIE['channel']== qudao197) OR ($_COOKIE['channel']== qudao198) OR ($_COOKIE['channel']== sjg) OR ($_COOKIE['channel']== lzss) OR ($_COOKIE['channel']== qudao227) OR ($_COOKIE['hideKefuNum']== 1)): ?><p>客服QQ号：2307821835</p>
    <?php elseif($_COOKIE['hideBottomNum']== 1): ?>
    <?php elseif(($_COOKIE['channel']== qudao170)): ?>
    <p>客服电话：13925442366</p>
    <?php elseif(($_COOKIE['showQrCodeNum']== 1)): ?>
    <p>客服微信号：qumingxiaoxue</p>
    <?php elseif(($_COOKIE['channel']== qudao50) or ($_COOKIE['channel']== qudao64) or ($_COOKIE['channel']== bbhs) or ($_COOKIE['channel']== zd1) OR ($_COOKIE['channel']== qudao245)): ?>
    <?php else: ?>
    <?php if($_COOKIE['channel']== qudao71): ?><p><img src="/zhiming/Public/images/public/qrcode_for_gh71.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao59): ?><p><img src="/zhiming/Public/images/public/qrcode_for_gh59.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao60): ?><p><img src="/zhiming/Public/images/public/qrcode_for_gh60.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao61): ?><p><img src="/zhiming/Public/images/public/qrcode_for_gh61.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao82): ?><p><img src="/zhiming/Public/images/public/qrcode_for_gh82.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao33_1): ?><p><img src="/zhiming/Public/images/public/qrcode_for_gh137.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif(($_COOKIE['channel']== qudao136) or ($_COOKIE['channel']== qudao185) or ($_COOKIE['channel']== qudao186) or ($_COOKIE['channel']== qudao187)): ?><p><img src="/zhiming/Public/images/public/qrcode_for_gh137.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao137): ?><p><img src="/zhiming/Public/images/public/qrcode_for_gh137.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao81): ?><p><img src="/zhiming/Public/images/public/qrcode_for_gh81.png" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao199): ?><p><img src="/zhiming/Public/images/public/qrcode_for_gh199.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao26): ?><p><img src="/zhiming/Public/images/public/qrcode_for_gh26.jpg" style="width:140px; height:140px;" /></p>

        <?php else: ?>
        <p><img src="/zhiming/Public/images/public/qrcode_for_gh.jpg" style="width:140px; height:140px;" /></p><?php endif; ?>
    <p>长按二维码加客服微信</p><?php endif; ?>

<?php if(($_COOKIE['channel']== qudao50) or ($_COOKIE['channel']== qudao64) or ($_COOKIE['channel']== zd1) OR ($_COOKIE['channel']== qudao245)OR ($_COOKIE['hideBottomNum']== 1)): else: ?>
    <p>在线服务时间: 周一至周五9:00-18:00<span style="color:#0374F8"></span></p><?php endif; ?>

<p style="font-size:0.8em;padding:1em 3em 0;color:rgb(170, 169, 169);">本测算结果根据古代八字命理古籍和老师多年心得整理，趋利避害，仅供参考和民俗研究之用，请勿过于迷信。</p>
<?php if(($_COOKIE['channel']== qudao50) or ($_COOKIE['channel']== qudao64)): ?><div>
            <p style="font-size:1em;padding:1em 3em 0;color:rgb(170, 169, 169);">公司简介</p>
            <p style="font-size:0.8em;padding:0 3em 0;color:rgb(170, 169, 169);text-align:left;text-indent: 2em;">知命的核心业务，协同合作老师完成国学内容整合，以及从线上课程覆盖到文化活动、国学直播讲座，旨在為易学爱好者提供正统的国学文化知识和一个学习、交流的氛围，通过知命平台让知命旗下千万用户能够近距离参与国学专家老师的课程，学习传统文化和经典国学</p>
            <p style="font-size:1em;padding:0.5em 3em 0;color:rgb(170, 169, 169);">产品简介</p>
            <p style="font-size:0.8em;padding:0 3em 0;color:rgb(170, 169, 169);text-align:left;text-indent: 2em;">八字是以“天地为法”的哲学，每个人都拥有自己独特的生辰八字，而八字命理学正是根据干支历、阴阳五行、神煞等理论推测出一个人的事业、婚姻、财运、学业、健康等事的学问，是一种历史悠久的算命方法。本产品正是由大师团队亲自推演编排，旨在通过个人八字特征，帮助其了解自己的各方运势！</p>
            <p style="font-size:1em;padding:0.5em 3em 0;color:rgb(170, 169, 169);">版权所有</p>
            <p style="font-size:0.8em;padding:0 3em 0;color:rgb(170, 169, 169);">武汉卓鼎蓝阳网络科技有限公司</p>
        </div>
    <?php else: endif; ?>

<!--花生地铁获取唯一标识-->
<?php if(($_COOKIE['channel']== qudao135) ): ?><script src="http://cmsfile.wifi8.com/uploads/wifi/AppH5/common/js/nfygInlay.min1.5.js">
        var userinfo = nfyg.getUserInfomation();
        $.getJSON("<?php echo U('Index/huashengUid','',false);?>",{uid:userinfo},function(data){//点击回调入库

        });
    </script>

    <?php else: endif; ?>

<?php if(($_COOKIE['hidePopupNum']== 1) or ($_COOKIE['QSorderNo']== 1)): elseif(($_COOKIE['qudaoJgTypeNum']== 1) or ($_COOKIE['qudaoJgTypeNum']== 2)): ?>
    <!-- 首页 支付页 返回弹窗 -->
    <style>
    /*  */
    .wxPay_container{
        width:100%;
        height:100%;
        background-color:rgba(0,0,0,0.3);
        position: fixed;
        top:0;
        left:0;
        z-index: 99;
        display: none;
    }
    .wxPay_wrap{
        font-size:14px;
        width:90%;
        border-radius: 10px;
        position: absolute;
        left:50%;
        top:50%;
        transform: translate(-50%,-50%);
        -moz-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
        -o-transform: translate(-50%,-50%);
        background-color:#ffffff;
    }
    .wxPay_title{
        color:#ffffff;
        background-color:#951F2B;
        text-align: center;
        padding:10px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
    .wxPay_content{padding:10px;}

    .wxPay_info{
        background-color:#FCF2D9;
        padding:10px;
    }
    .I_left{width:60px;display: inline-block;}
    
    .birth{display: flex;}
    .I_right{display:flex;flex-direction: column;width:100%;}
    .end_content{padding:15px 0;text-indent: 2em;}
    .wxPay_btn{
        width:60%;
        height:40px;
        line-height: 40px;
        text-align: center;
        color:#ffffff;
        background-color:#951F2B;
        border-radius:20px;
        margin:10px auto;
    }
    .close_bg{
        background:url('/zhiming/Public/images/public/close_.png') no-repeat;
        background-size:100% 100%;
        position: absolute;
        width:35px;
        height:35px;
        right:0;
        top:-18%;
    }
    /* 优惠券 */
    .discount_container{
        width:100%;
        height:100%;
        position: fixed;
        top:0;
        left:0;
        z-index: 99;
        display: none;
    }
    .discount_bg{
        width:100%;
        height:100%;
        position: absolute;
        background-color:rgba(0,0,0,0.7);
        top:0;left: 0;
    }
    .discount_container.on{display: block;}
    .discount_container.on .discount_content{animation:onShow 0.3s ease-out forwards;}
    @keyframes onShow{
        0%{opacity: 0;transform: scale(0.3);-webkit-transform: scale(0.3);}
        100%{opacity: 1;transform: scale(1);-webkit-transform: scale(1);}
    }
    .discount_content{
        width:6.6rem;
        height:7rem;
        background:url('/zhiming/Public/images/public/fyh_bj.png') 0% 0% / 100% 100% no-repeat;
        position: absolute;
        left:50%;
        margin-left:-3.3rem;
        top:15%;
    }
    .discount_txt{padding:0.88rem 0.65rem 0;}
    .discount_txt p{line-height: 1.5;color:#333333;font-size:0.34rem;}
    .discount_strong{color:#ec1212;font-weight: bold;}
    .discount_bottom{
        width:100%;
        height:2.26rem;
        background:url('/zhiming/Public/images/public/yhj_bj1.png') 0% 0% / 100% 100% no-repeat;
        position: absolute;
        z-index: 2;
        bottom:0;
        left:0;
        display: flex;
        justify-content: center;
        align-items: center;
        display: -webkit-box;
        -webkit-box-align: center;
        -webkit-box-pack: center;
    }
    .discount_container.on .discount_content .discount_coupon{
        animation:YHJonShow 0.3s ease-out 0.3s forwards;
    }
    @keyframes YHJonShow{
        0%{bottom:0rem;}
        100%{bottom:1.88rem;}
    }
    .discount_coupon{
        width:5.16rem;
        height:1.66rem;
        background:url('/zhiming/Public/images/public/fyh_yhj.png') 0% 0% / 100% 100% no-repeat;
        position: absolute;
        bottom: 0.01rem;
        left:50%;
        margin-left:-2.58rem;
        display: flex;
        display: -webkit-box;
        transition: all 0.3s ease-out 0.3s;
        z-index: 1;
        transform: translate3d(0,0,0);
        -webkit-transform: translate3d(0,0,0);
    }
    .discount_coupon .coupon_money{
        width:2rem;
        height:1.66rem;
        font-size:0.54rem;
        color:#fffacf;
        text-align: center;
        line-height:1.66rem;
    }
    .discount_coupon .coupon_money strong{font-size:1.08rem;}
    .discount_coupon .coupon_txt{
        flex: 1;
        -webkit-box-flex:1;
        text-align: center;
        line-height:1.66rem;
        font-size: 0.57rem;
        font-weight: bold;
        color:#fffacf;
        letter-spacing:0.1rem;
    }
    .discount_btn{
        width:2.78rem;
        height:0.98rem;
        margin-top:0.3rem;
        background:linear-gradient(#FF5F1F,#EF1C1C);
        background:-webkit-linear-gradient(#FF5F1F,#EF1C1C);
        text-align: center;
        line-height: 0.98rem;
        border-radius: 0.7rem;
        box-sizing: border-box;
        font-size:0.4rem;
        color:#ffffff;
        font-weight:bold;
        display: block;
    }
    .discount_btn:nth-child(2){
        margin-left:0.3rem;
        background:none;
        color:#333333;
        border:0.02rem solid #ec1212;
    }
    .discount_close{
        width:0.64rem;
        height:0.64rem;
        background:url('/zhiming/Public/images/public/close_.png') 0% 0% / 100% 100% no-repeat;
        position: absolute;
        top:-0.64rem;
        right:0rem;
    }
    /* 提示分享 */
    .ts_tc_container{
        width:100%;
        height:100%;
        background-color:rgba(0,0,0,0.5);
        position: fixed;
        top:0;left:0;
        z-index: 99;
        display: none;
    }
    .ts_tc_bg{
        width:100%;
        height:300px;
        background:url('/zhiming/Public/images/public/mg_share.png') no-repeat;
        background-size:100% 100%;
    }
    .ts_tc_contnet{
        font-size:18px;
        color:#ffffff;
        padding:180px 130px 30px 90px;
        text-align: center;
    }
	
	.daqs_tcbg, .daqs_tcbg2,.daqs_tcbg3{
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		background-color: rgba(0,0,0,.3);
		z-index: 99;
		display: none;
	}
	.daqs_tcdiv{
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}
	.daqs_tcbox2{
		width:80%;
		height:9.5rem;
		background: url('/zhiming/Public/images/bzjp_img/0902/tc@2x.png') no-repeat;
		background-size: 100% 100%;
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		padding-bottom: 0.3rem;
	}
	.wxtc{
		width:52%;
		margin-top: 0.2rem;
	}
	.colse_tcbox{
		width:0.7rem;
		height:0.7rem;
		position: absolute;
		top: -8%;
		right:1%;
		background: url('/zhiming/Public/images/bzjp_img/0902/gb@2x.png') no-repeat;
		background-size: 100% 100%;
	}
	.dsqs_btn2{
		width:80%;
		margin-top:0.2rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.wxh{
		color: #F73636;
		margin-top: 0.1rem;
		font-size: 0.28rem;
	}
	.m1{
		color: #424242;
		font-size: 0.28rem;
		margin-top: 0.3rem;
	}
	.dsqs_msg{
		width:87%;
		font-size: 0.25rem;
		color: #424242;
		line-height: 0.45rem;
	}
	.dsqs_msg span{
		color: #de0003;
	}
	.daqs_alert{
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		background-color: rgba(0,0,0,.1);
		z-index: 100;
		display: none;
	}
	.daqs_alert_div{
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.daqs_alert_box{
		width:4.5rem;
		height:0.8rem;
		background-color: rgba(0,0,0,.7);
		color: #FFFFFF;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		border-radius: 10px;
	}
</style>

 <!--<div class="wxPay_container">-->
    <!--<div class="wxPay_wrap">-->
        <!--<div class="close_bg"></div>-->
        <!--<div class="wxPay_title"><?php if($znickname == '匿名'): ?>匿名<?php else: endif; ?>的测试结果</div>-->
        <!--<div class="wxPay_content">-->
            <!--<div class="wxPay_info">-->
                <!--<p><span class="I_left">姓名：</span><?php if($znickname == '匿名'): ?>匿名<?php else: endif; ?></p>-->
                <!--<P><span class="I_left">性别：</span><?php if($_COOKIE['zsex']== 1): ?>男<?php else: ?>女<?php endif; ?></P>-->
                <!--<div class="birth">-->
                    <!--<span class="I_left">出生：</span>-->
                    <!--<div class="I_right">-->
                        <!--<p>公(阳)历 </p>-->
                        <!--<p>农(阴)历 </p>-->
                    <!--</div>-->
                <!--</div>-->
            <!--</div>-->
            <!--<p class="end_content">......</p>-->
            <!--<div class="wxPay_btn weixinzfFH">立即查看全部</div>-->
        <!--</div>-->
    <!--</div>-->
<!--</div>-->


<!--男大师-->
<div class="daqs_tcbg2">
	<div class="daqs_tcdiv">
		<div class="daqs_tcbox2">
			<div class="colse_tcbox" onclick="colsebox2()"></div>
			<div class="dsqs_msg">缘主您好，如果你想找专业命理师<span>具体问题一对一分析</span>，请加知命专业<span>命理大师微信</span></div>
			<div class="m1">已复制成功微信号</div>
			<div class="wxh">GXQM_zz</div>
			<img class="dsqs_btn2" onclick="copyqcwx(),openwx(),pvuvStatistics('jg_indexZf_dkwx')" src="/zhiming/Public/images/bzjp_img/0902/tcan@2x.png" />
			<img class="wxtc" src="/zhiming/Public/images/bzjp_img/0902/wxtc.gif" />
		</div>
	</div>
</div>

<div class="daqs_alert">
	<div class="daqs_alert_div">
		<div class="daqs_alert_box">微信号已复制前往添加好友</div>
	</div>
</div>

<!--女大师-->


<!-- 返回弹窗 优惠券 -->
<!--<div class="discount_container">-->
    <!--<div class="discount_bg"></div>-->
    <!--<div class="discount_content">-->
        <!--<div class="discount_txt">-->
            <!--<p><span class="discount_strong">&lt;!&ndash;{$bztaisui}&ndash;&gt;</span><span class="discount_strong">大师强烈建议你查阅你的年运报告</span>，-->
                <!--特赠送优惠卷一张,可免费或抵扣相应金额。-->
            <!--</p>-->
        <!--</div>-->
        <!--<div class="discount_coupon">-->
            <!--<div class="coupon_money">￥<strong>&lt;!&ndash;{$Think.cookie.discountprice}&ndash;&gt;</strong></div>-->
            <!--<div class="coupon_txt">优惠券</div>-->
        <!--</div>-->
        <!--<div class="discount_bottom">-->
            <!--<?php if($wxlogin == 1 ): ?>-->
                <!--<a href="javascript:;" class="discount_btn YHPay">马上使用</a>-->
                <!--<a href="javascript:;" class="discount_btn share_btn">送给朋友用</a>-->
                <!--<?php else: ?>-->
                <!--<a href="javascript:;" class="discount_btn YHPay">马上使用</a>-->
            <!--<?php endif; ?>-->
        <!--</div>-->
        <!--<div class="discount_close"></div>-->
    <!--</div>-->
<!--</div>-->

<!-- 提示分享 -->
<!--<div class="ts_tc_container">-->
    <!--<div class="ts_tc_bg">-->
        <!--<div class="ts_tc_contnet">点击右上角分享到微信群和朋友圈。</div>-->
    <!--</div>-->
<!--</div>-->

<script>
	function openwx(){
		console.log("openweixin")
		$(".daqs_alert").show();
		setTimeout(function(){ 
			$(".daqs_alert").hide();
			window.location.href = 'weixin://';
		}, 1000);
	}
	function colsebox2(){
		$(".daqs_tcbg2").hide();
	}
	function copyqcwx(){
		var oInput = document.createElement('input');
		oInput.setAttribute('value', 'GXQM_zz');
		oInput.setAttribute('readonly', 'readonly');
		document.body.appendChild(oInput);
		oInput.setSelectionRange(0, 99); // 选择对象
		oInput.select();
		document.execCommand('Copy'); // 执行浏览器复制命令
		oInput.className = 'oInput';
		oInput.style.display='none';
		document.body.removeChild(oInput);
		console.log("copy");
	}
	
    var oldMoney = "<?php echo (cookie('price')); ?>"; //原价
    var discountprice='<?php echo (cookie('discountprice')); ?>';//优惠价格
    var isPayYHJ = "<?php echo ($discount); ?>"; //是否优惠
    var yhMoneyNode = "<span style='font-size:0.24rem;color:#cB2312;'>(已使用"+discountprice+"元优惠券)</span>";
    var channel = "<?php echo ($channel); ?>"; // 渠道
    var channelDiscount='<?php echo ($channelDiscount); ?>';
    var hidePopup='<?php echo (cookie('hidePopupNum')); ?>';
    var QSorderNo='<?php echo (cookie('QSorderNo')); ?>';
    var qudaoJgTypeNum='<?php echo (cookie('qudaoJgTypeNum')); ?>';//1为首页  2为支付页
	
	function pushHistory(){
	    window.history.pushState('index', null, document.URL);   
	}
	function pushHistory2(){
	    window.history.pushState('zhifu', null, document.URL);   
	}
	
    $(function(){
        if(isPayYHJ == 1){
            $('.public_pp_price strong').html('￥'+oldMoney+'元'+yhMoneyNode);
            $('.orderMoney').append(yhMoneyNode);
            $('.YHPay').css('background','rgba(0,0,0,0.7)').text('已使用');
        }

        var sss;
        /* if(hidePopup==1||QSorderNo==1){

        }else{
            window.history.pushState(null,null,'');
        } */
		
		//pushHistory();
		pushHistory();
		
        window.addEventListener("popstate", function(e) {
			
            if (e.state == null) {
				pvuvStatistics('jg_indexZf_wxtc');
				$.getJSON("<?php echo U('Index/jieguoyeReturn','',false);?>",function(data){//回调统计入库
				});
				copyqcwx();
                $(".daqs_tcbg2").show();
            } else if (e.state != null && e.state == 'index') {
                window.history.back(-1)
            }
			
            /* if(tcbool){//不触发返回弹窗
                console.log('window.addEventListener')
                window.history.back(-1);
                return;
            } */
			
			//tcbool = true;
			//$(".daqs_tcbg2").show();
			//window.history.pushState(null,null,'');
			
            // 阻止弹窗滚动
//            var scrollTop = window.pageYOffset
//            || document.documentElement.scrollTop
//            || document.body.scrollTop
//            || 0;
//            sss=scrollTop;//保存当前滚动条位置
//            document.body.style.top=-1*scrollTop+"px";
//            document.body.style.position='fixed';

        }, false);
		
        $('.close_bg').on('click',function(){
            $('.wxPay_container').css('display','none');
            document.body.style.overflow='';
            document.body.style.position=null;
            document.body.style.top=null;
            window.scrollTo(0,sss);
            if(channelDiscount==1){
                $('.discount_container').addClass('on');
            }
        })
        $('.discount_close').on('click',function(){
            $('.discount_container').removeClass('on');
        })
        $('.share_btn').on('click',function(){
            $('.ts_tc_container').fadeIn();
        })
        $('.ts_tc_container').on('click',function(){
            $(this).fadeOut();
        })
    });

    // 弹框微信支付
    $(".weixinzfFH").on('click',function(){
        zhifuPopup();
         if(wxlogin==1){//微信支付
            wxzf();
         }else{//微信H5支付
            payMoney('wx');
         }
    });

    function pvuvStatistics(typeName){//pvuv统计
        $.getJSON("<?php echo U('Index/interfacPvUv','',false);?>",{typeName:typeName},function(data){//点击回调入库
        });
    }


    // 优惠支付
//    $(".YHPay").on('click',function(){
//        if(isPayYHJ == 0){
//            if(wxlogin==1){
//                $.getJSON("<?php echo U('Lnyc2019/payGzh','',false);?>",{price:discountprice},function(data){//回调入库
//                    WeixinJSBridge.invoke(
//                            'getBrandWCPayRequest', {
//                                "appId":data.appId,     //公众号名称，由商户传入
//                                "timeStamp":data.timeStamp,         //时间戳，自1970年以来的秒数
//                                "nonceStr":data.nonceStr, //随机串
//                                "package":data.package,
//                                "signType":data.signType,         //微信签名方式：
//                                "paySign":data.paySign//微信签名
//                            },
//                            function(res){
//                                if(res.err_msg == "get_brand_wcpay_request:ok" ) {
//                                    location.href="<?php echo U('Lnyc2019/jieguoye','',false);?>?ordernum=<?php echo (cookie('orderid')); ?>";
//                                }     // 使用以上方式判断前端返回,微信团队郑重提示：res.err_msg将在用户支付成功后返回    ok，但并不保证它绝对可靠。
//                            }
//                    );
//                });
//            }else{
//                $.post("<?php echo U('Index/payReduce','',false);?>",{price:discountprice},function(data){//回调入库
//                    $('.public_pp_price strong').html('￥'+data+'元'+yhMoneyNode);
//                    $('.orderMoney').text('只需'+data+'元');
//                    $('.orderMoney').append(yhMoneyNode);
//                    $('.YHPay').css('background','rgba(0,0,0,0.7)').text('已使用');
//                    $('#publicPayPopup').show();
//                });
//            }
//        }else{
//            $('#publicPayPopup').show();
//        }
//    });
</script>
    <?php else: endif; ?>


    </footer>
    <div class="fiex_btt" id="fiex">
        
    </div>
    
    <script>
        //测算底部悬浮
        $(function(){
            var topShow=$(".cs_btn");
            if(topShow.length){
                var topShow=topShow.offset().top;
                var testBtn=$("#fiex");
                $(window).scroll(function(){
                    var wt=$(window).scrollTop();
                    wt>topShow?(testBtn.fadeIn(),$('.footer_severs').css('padding-bottom','1.2rem')):(testBtn.fadeOut(),$('.footer_severs').css('padding-bottom','0.4rem'));
                });
                // goTop
                $('#fiex').on('click',function(){$('html,body').animate({scrollTop:$('#scrollT')[0].offsetTop},500)});
                $.getJSON("<?php echo U('Index/indexXfan','',false);?>",{csName:'ZW'},function(data){//首页-悬浮按钮统计
                });
            }
        });

        var calendar = new lCalendar().init('#datetime');//男
        var calendar1 = new lCalendar().init('#datetime1');//男
        $(".mg_btn").on('click',function(){
            $.getJSON("<?php echo U('Index/indexLjcs','',false);?>",{csName:'ZW'},function(data){//首页-立即测算统计
            });

            if($("#username[name='username']").val() == ""){
                $("#username[name='username']").val('匿名');
                // layer.msg("请输入您的名字");
                // return false;
            }else if($("#username[name='username']").val().length < 2){
                layer.msg("姓名长度不能少于2");
                return false;
            }
            var patrn= /[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/gi;
            if(!patrn.exec($("#username[name='username']").val())){
                layer.msg("请输入中文名字");
                return false;
            }
            if($("#birthday[name='birthday']").val() == ""){
                layer.msg("请选择生时");
                return false;
            }
            console.log('mg_btn')
            console.log($("#username[name='username']").val(),$("#birthday[name='birthday']").val(),$('#sex').val())
            layer.load();
            setTimeout(function(){
                layer.closeAll('loading');
                layer.msg('订单提交成功', {icon: 1});
                setTimeout(function(){
                    document.getElementById('_form').submit();
                },1300);
            },1000);
        });
        $(".mg_btn1").on('click',function(){
            $.getJSON("<?php echo U('Index/indexLjcs','',false);?>",{csName:'ZW'},function(data){//首页-立即测算统计
            });

            if($("#username1[name='username']").val() == ""){
                $("#username1[name='username']").val('匿名');
                // layer.msg("请输入您的名字");
                // return false;
            }else if($("#username1[name='username']").val().length < 2){
                layer.msg("姓名长度不能少于2");
                return false;
            }
            var patrn= /[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/gi;
            if(!patrn.exec($("#username1[name='username']").val())){
                layer.msg("请输入中文名字");
                return false;
            }
            if($("#birthday1[name='birthday']").val() == ""){
                layer.msg("请选择生时");
                return false;
            }
            console.log('mg_btn1')
            console.log($("#username1[name='username']").val(),$("#birthday1[name='birthday']").val(),$('#sex1').val())
            layer.load();
            setTimeout(function(){
                layer.closeAll('loading');
                layer.msg('订单提交成功', {icon: 1});
                setTimeout(function(){
                    document.getElementById('_form').submit();
                },1300);
            },1000);
        });

        // 选择按钮
        var obut_man = document.getElementById('but_man');
        var obut_woman = document.getElementById('but_woman');
        var osex = document.getElementById('sex');
        obut_man.onclick = function(){
            obut_man.classList.add("on");
            osex.value = 1;
            obut_woman.classList.remove('on');
        }
        obut_woman.onclick = function(){
            obut_woman.classList.add("on");
            osex.value = 0;
            obut_man.classList.remove('on');
        };

        var obut_man1 = document.getElementById('but_man1');
        var obut_woman1 = document.getElementById('but_woman1');
        var osex1 = document.getElementById('sex1');
        obut_man1.onclick = function(){
            obut_man1.classList.add("on");
            osex1.value = 1;
            obut_woman1.classList.remove('on');
        }
        obut_woman1.onclick = function(){
            obut_woman1.classList.add("on");
            osex1.value = 0;
            obut_man1.classList.remove('on');
        };

         var wxlogin='<?php echo (cookie('wxlogin')); ?>';
         //if (wxlogin == 1) {
         wx.config({
             debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
             appId: '<?php echo ($appid); ?>', // 必填，公众号的唯一标识
             timestamp: '<?php echo ($timestamp); ?>', // 必填，生成签名的时间戳
             nonceStr: '<?php echo ($noncestr); ?>', // 必填，生成签名的随机串
             signature: '<?php echo ($signature); ?>',// 必填，签名，见附录1
             jsApiList: [
                 'checkJsApi',
                 'openLocation',
                 'getLocation',
                 'updateAppMessageShareData',
                 'updateTimelineShareData',
             ] // 必填，需要使用的JS接口列表，所有JS接口列表见附录2
         });

         wx.ready(function () {
             // config信息验证后会执行ready方法，所有接口调用都必须在config接口获得结果之后，config是一个客户端的异步操作，所以如果需要在页面加载时就调用相关接口，
             // 则须把相关接口放在ready函数中调用来确保正确执行。对于用户触发时才调用的接口，则可以直接调用，不需要放在ready函数中。
//         alert('成功');

             wx.updateAppMessageShareData({//“分享给朋友”及“分享到QQ”
                 title: '泰国国王御用命理大师，紫微斗数帮你算命！', // 分享标题
                 desc: '紫微斗数是东方中国最著名的占星学，利用人类出生时夏历时间进行斗数星盘的排列，将满天星曜飞布人生十二宫，并据以解释人生命运起伏，紫微斗数经老师团队多年研究，准确率高达95%！', // 分享描述
                 link: '<?php echo (cookie('ZWwxfxUrl')); ?>', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                 imgUrl: 'http://hy.yixueqm.com/zhiming/Public/images/public/04.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                 type: '', // 分享类型,music、video或link，不填默认为link
                 dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                 success: function (res) {
                     // 用户确认分享后执行的回调函数
                 }
             });
             wx.updateTimelineShareData({//“分享到朋友圈”及“分享到QQ空间”
                 title: '泰国国王御用命理大师，紫微斗数帮你算命！', // 分享标题
                 desc: '紫微斗数是东方中国最著名的占星学，利用人类出生时夏历时间进行斗数星盘的排列，将满天星曜飞布人生十二宫，并据以解释人生命运起伏，紫微斗数经老师团队多年研究，准确率高达95%！', // 分享描述
                 link: '<?php echo (cookie('ZWwxfxUrl')); ?>', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                 imgUrl: 'http://hy.yixueqm.com/zhiming/Public/images/public/04.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                 type: '', // 分享类型,music、video或link，不填默认为link
                 dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                 success: function (res) {
                     // 用户确认分享后执行的回调函数
                 }
             });


             wx.error(function (res) {
                 // config信息验证失败会执行error函数，如签名过期导致验证失败，具体错误信息可以打开config的debug模式查看，也可以在返回的res参数中查看，对于SPA可以在这里更新签名
//         alert('失败');
             });
         });
         // }

    </script>
</body>
</html>